<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of hotel_summary
 *
 * @author cristian.daraban
 * @category Hotels
 * @todo Test the functions in the class.
 */
class HotelSummary 
{
    private $response;
    
    public function HotelSummary($response)
    {
        $this->response = $response;
    }

    /**
     * Used in HotelRoomAvailability and HotelRoomReservationRequest queries
     * @return int Returns an EAN unique identifier for the hotel.
     */
    public function GetHotelId()
    {
        return $this->response->{"hotelId"};
    }
    
    public function GetHotelName()
    {
        return $this->response->{"name"};
    }
    public function GetAddress1()
    {
        return $this->response->{"address1"};
    }
    public function GetCity()
    {
        return $this->response->{"city"};
    }
    public function GetStateProvinceCode()
    {
        return $this->response->{"stateProvinceCode"};
    }
    public function GetCountryCode()
    {
        return $this->response->{"countryCode"};
    }
    public function GetPostalCode()
    {
        return $this->response->{"postalCode"};
    }
    public function GetPropertyCategory()
    {
        return $this->response->{"propertyCategory"};
    }
    public function GetHotelRating()
    {
        return $this->response->{"hotelRating"};
    }
    public function GetConfidenceRating()
    {
        return $this->response->{"confidenceRating"};
    }
    public function GetLocationDescription()
    {
        return $this->response->{"locationDescription"};
    }
    public function GetLowRate()
    {
        return $this->response->{"lowRate"};
    }
    public function GetHighRate()
    {
        return $this->response->{"highRate"};
    }
    public function GetRateCurrencyCode()
    {
        return $this->response->{"rateCurrencyCode"};
    }
    public function GetGeoLatitude()
    {
        return $this->response->{"latitude"};
    }
    public function  GetGeoLongitude()
    {
        return $this->response->{"longitude"};
    }
}

?>
